package com.kgc.entity;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@Accessors(chain = true)
public class User {

    private Integer id;
    private String name;
    private Integer pwd;
    private Integer age;
    @TableField(fill = FieldFill.INSERT)
    private Date createdate;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updatedate;
    @Version
    private Integer version;
    @TableLogic
    @TableField("is_deleted")
    private Integer deleted;



}
